//
// Created by 吴锐 on 2022/3/3.
//

#include "iostream"
#include "vector"
#include "numeric"
#include "algorithm"

using namespace std;

void myPrint(int val){
    cout << val << " ";
}

void test01(){
    vector<int> v;
    v.resize(10);

    fill(v.begin(), v.end(), 100);

    for_each(v.begin(), v.end(), myPrint);
}

int main(){
    test01();
    return 0;
}